//
//  EPMNormalCell.m
//  myXianfeng
//
//  Created by 马继鵬 on 17/5/5.
//  Copyright © 2017年 EPM. All rights reserved.
//

#import "EPMNormalCell.h"
#import "EPMMineNormalModel.h"

@interface EPMNormalCell() 
@property (weak, nonatomic) IBOutlet UIImageView *IMGIcon;
@property (weak, nonatomic) IBOutlet UILabel *labDes;

@end
@implementation EPMNormalCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(EPMMineNormalModel *)model{
    _model = model;
    UIImage* IMG = [UIImage imageNamed:model.icon];
    _IMGIcon.image = IMG;
    self.labDes.text = model.des;
}

@end
